#define _CRT_SECURE_NO_WARNINGS 1

#include"stack.h"

test1()
{
	ST st;
	STInit(&st);
	STPush(&st, 1);

	STPush(&st, 2);

	STPush(&st, 3);

	STPush(&st, 4);
	while (!Empty(&st))
	{
		printf("%d ", STtop(&st));
		STPop(&st);
	}

	STDestroy(&st);
}

int main()
{
	test1();
	return 0;
}